<su-input type="text" label="<%= t 'activerecord.attributes.user.account' %>" readonly
          name="user[account]" value="<%= user.account if user.present? %>" placeholder="登录账号">
</su-input>
<su-input type="text" label="<%= t "activerecord.attributes.user.name" %>" readonly value="<%= user.name if user.present? %>" placeholder="真实姓名">
</su-input>
<su-input type="tel" label="<%= t "activerecord.attributes.user.phone" %>" readonly value="<%= user.phone if user.present? %>">
</su-input>
<su-input type="text" label="<%= t "activerecord.attributes.user.email" %>" readonly value="<%= user.email if user.present? %>">
</su-input>
<su-select label="<%= t "activerecord.attributes.user.roles" %>" multiple :value="<%= user.roles.ids %>" readonly>
  <% Role.all.each do |role| %>
      <option value="<%= role.id %>"><%= role.name %></option>
  <% end %>
</su-select>